<template>
  <button @click="sendClick">{{btnText}}</button>
</template>

<script>
export default {
    props:["btnText"],
    methods: {
        sendClick:function() {
            this.$emit("clickBtn")
        }
    }
}
</script>

<style lang="less" scoped>
    button {
        width: 200px;
        height: 40px;
        background-color: #cc3300;
        color: white;
        font-size: 5px;
        border: none;
        border-radius: 6px;
        margin-bottom: 20px;
    }
</style>